﻿using Adapter;
using DtoCommom.Dto;
using DtoCommom.Entity;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {

            var r = new AutomapperTypeAdapter();
            var userInfo = new UserInfo()
            {
                Age = "test",
                Name = "hellowprld"
            };

            var value = r.Adapt<UserInfo, UserInfoDto>(userInfo);

        }



    }
}
